home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextFieldGetSelectionWcs.z / XmTextFieldGetSelectionWcs
Encoding:
Text File  |  2003-11-18  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnWWWWccccssss((((UUUU3333NNNNXXXXIIII))))XXXX SSSSyyyysssstttteeeeXXXXmmmmmmmmTTTTVVVVeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnWWWWccccssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_F_i_e_l_d_G_e_t_S_e_l_e_c_t_i_o_n_W_c_s - A TextField function that
  10.       retrieves the    value of a wide    character encoded primary
  11.       selection
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/TextF.h>
  15.  
  16.       wchar_t * XmTextFieldGetSelectionWcs (wwwwiiiiddddggggeeeetttt)
  17.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.       _X_m_T_e_x_t_F_i_e_l_d_G_e_t_S_e_l_e_c_t_i_o_n_W_c_s retrieves the value of the
  21.       primary selection, encoded in    a wide character format.  It
  22.       returns a NULL pointer if no text is selected    in the widget.
  23.       The application is responsible for freeing the storage
  24.       associated with the wide character buffer by calling _X_t_F_r_e_e.
  25.  
  26.       wwwwiiiiddddggggeeeetttt
  27.            Specifies the TextField widget ID
  28.  
  29.       For a    complete definition of TextField and its associated
  30.       resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  31.  
  32.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  33.       Returns the wide character string that is associated with
  34.       the primary selection    in the TextField widget.
  35.  
  36.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  37.       _X_m_T_e_x_t_F_i_e_l_d(_3_X) and _X_m_T_e_x_t_F_i_e_l_d_G_e_t_S_e_l_e_c_t_i_o_n(_3_X).
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.